﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StudentControlSystem.Entity
{
    public class School
    {
        public int SchoolId { get; set; }
        public string Name { get; set; }
        public List<Class> Classes { get; set; }

        public School() { }
        public School(int schoolId,string name) {
            this.SchoolId = schoolId;
            this.Name = name;
        }

        public void addClass(Class c)
        {
            Classes.Add(c);
        }
    }
}
